﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GomMinhLongDO;
using GomMinhLongBL;
using System.Data;

namespace GomMinhLong.Module
{
    public partial class ucFooter : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ltrFooter.Text = new sysConfigBL().Select(new sysConfigDO { ConfigID = 1 }).ConfigValue;
            if (!IsPostBack)
                rptDanhMucXeDataSource();
        }
        protected void rptDanhMucXeDataSource()
        {
            rptDanhMucXe.DataSource =new cmsLoaiSanPhamBL().SelectParent(6);
            rptDanhMucXe.DataBind();

        }
        protected string FriendlyUrl(string s)
        {
            return Ultility.Change_AV(s);
        }
    }
}